<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/public/header.jsp"%>

<html>
	<head>
		<title>工作流业务数据查看调度</title>
	</head>
	<script type="text/javascript">
	$.ajax({
						type:'POST',
						url:"<%=contextPath %>/springMVC/workFlow/toViewBusiness",
						data:"flowId=<%=request.getParameter("flowId")%>&runId=<%=request.getParameter("runId")%>",
						dataType:"json",
						success:function(rtJson){
							if(rtJson.rtState == '0'){
								location.href=rtJson.rtData.VIEW_URL;
							}
							else{
								$.messager.alert('提示',rtJson.rtMsrg);
							}
						}
					});
		</script>
	<body>

		
	</body>
</html>
